#include <QtGui/QApplication>
#include "qmlapplicationviewer.h"
#include <QSplashScreen>

#include "mainwidget.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    app.setStartDragDistance(30);

    // Splash screen
#if defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5)
    QPixmap pixmap(contentPath + "images/bg/bg_pause.png");
    QSplashScreen splash(pixmap);
    splash.show();
#endif

    MainWidget mainWidget;
    mainWidget.showFullScreen();

#if defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5)
    splash.finish(&mainWidget);
#endif

    return app.exec();
}

